<textarea
        {foreach $data.attrs as $key => $attr}
    {if $key != 'value'}
    {$key}="{$attr}"
    {/if}
    {/foreach}
>{$data.attrs.value ?? ''}</textarea>